public class Circle {
	public static int instanceCount;
	public int instanceId;
	double radius=1;

	public Circle() {
		instanceCount++;
		instanceId=instanceCount;
	}

	public Circle(double initRadius) {
		this();
		radius=initRadius;
	}

	public double getArea() {
		return radius*radius*Math.PI;
	}

	public void log() {
		System.out.println("Circle instance# " + instanceId);
	}
}
